package com.css.zfzx.fwsjcj.modules.group.repository;

import com.css.zfzx.fwsjcj.modules.group.entity.FwGroupUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FwGroupUserRepositoty extends JpaRepository<FwGroupUserEntity,String> {
    List<FwGroupUserEntity> findAllByGroupId(String groupId);

    List<FwGroupUserEntity> findAllByUserId(String userId);
}
